package com.hxkj.service.impl;

import com.hxkj.dao.IncrementSequenceDao;
import com.hxkj.domain.po.IncrementSequence;
import com.hxkj.service.IncrementSequenceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * created by kezhijie on 2018/9/3 11:22.
 * email to kezhijie@hxoss.com
 */
@Service
public class IncrementSequenceServiceImpl implements IncrementSequenceService {

    @Autowired
    private IncrementSequenceDao incrementSequenceDao;

    @Override
    public int update(IncrementSequence incrementSequence) {
        return incrementSequenceDao.update(incrementSequence);
    }

    @Override
    public IncrementSequence getSingle(IncrementSequence incrementSequence) {
        return incrementSequenceDao.getSingle(incrementSequence);
    }
}
